var question_bank_data;
var DirectMode;
$(document).ready(
		function() {
			question_bank_data = JSON.parse($(
					".s_temple_setting.question_bank_data").html());
			console.log(question_bank_data);
			if (!question_bank_data.isTeacher)
				$(".teacher_only").hide();
			$("#menu_question").addClass("active");
			$("#shrink_question").addClass("active");
			if (question_bank_data.direct) {
				isDirectMode = true;
				loadAnotherPagePassEntry(question_bank_data.entryid,
						question_bank_data.url)
			}
		});
function getQuestionBankData() {
	return question_bank_data;
}
function isOwner() {
	return question_bank_data.isOwner;
}
function isDirectMode() {
	return DirectMode;
}